package cn.uniquesoft.vo;

import cn.uniquesoft.vo.base.BaseVO;
import org.springframework.data.elasticsearch.annotations.Document;

//系统管理用户表
@SuppressWarnings("serial")

@Document(indexName = "userindex", type = "user")
public class UserVO extends BaseVO {
	// 登录密码
	private String cpassword;
	// 密码盐
	private String csalt;
	// 别名
	private String cnickname;
	// 电子邮箱
	private String cemail;
	// 手机号
	private String cmobile;
	// 类型0=系统创建1=用户注册
	private String ctype="0";
	// 状态0=正常1=禁用
	private String cstatus;
	// 头像名称
	private String cportrait;
	// 新增rid角色id字段
	private Integer rid;
	// 新增rolename角色名称字段
	private String rolename;
	// 新增cstatus状态名称字段
	private String cstatusname;
	// 用户类型
	private String cusertype;
	private int ivisible;
	private int ispassed;
	private int iusertype;
	private int iorgname;
	private String corgname;
	private String cunit;
	private int iconsultantid;

	public int getIvisible() {
		return ivisible;
	}

	public void setIvisible(int ivisible) {
		this.ivisible = ivisible;
	}

	public String getCstatusname() {
		return cstatusname;
	}

	public void setCstatusname(String cstatusname) {
		this.cstatusname = cstatusname;
	}

	public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getCpassword() {
		return this.cpassword;
	}

	public void setCpassword(String cpassword) {
		this.cpassword = cpassword;
	}

	public String getCsalt() {
		return this.csalt;
	}

	public void setCsalt(String csalt) {
		this.csalt = csalt;
	}

	public String getCnickname() {
		return this.cnickname;
	}

	public void setCnickname(String cnickname) {
		this.cnickname = cnickname;
	}

	public String getCemail() {
		return this.cemail;
	}

	public void setCemail(String cemail) {
		this.cemail = cemail;
	}

	public String getCmobile() {
		return this.cmobile;
	}

	public void setCmobile(String cmobile) {
		this.cmobile = cmobile;
	}

	public String getCtype() {
		return this.ctype;
	}

	public void setCtype(String ctype) {
		this.ctype = ctype;
	}

	public String getCstatus() {
		return this.cstatus;
	}

	public void setCstatus(String cstatus) {
		this.cstatus = cstatus;
	}

	public String getCportrait() {
		return this.cportrait;
	}

	public void setCportrait(String cportrait) {
		this.cportrait = cportrait;
	}

	public int getIusertype() {
		return iusertype;
	}

	public void setIusertype(int iusertype) {
		this.iusertype = iusertype;
	}

	public int getIorgname() {
		return iorgname;
	}

	public void setIorgname(int iorgname) {
		this.iorgname = iorgname;
	}

	public String getCorgname() {
		return corgname;
	}

	public void setCorgname(String corgname) {
		this.corgname = corgname;
	}

	public int getIspassed() {
		return ispassed;
	}

	public void setIspassed(int ispassed) {
		this.ispassed = ispassed;
	}

	public String getCunit() {
		return cunit;
	}

	public void setCunit(String cunit) {
		this.cunit = cunit;
	}

	public int getIconsultantid() {
		return iconsultantid;
	}

	public void setIconsultantid(int iconsultantid) {
		this.iconsultantid = iconsultantid;
	}

	public String getCusertype() {
		return cusertype;
	}

	public void setCusertype(String cusertype) {
		this.cusertype = cusertype;
	}
}
